package com.mx.kn.cstf2.service;

import java.sql.SQLException;
import java.util.List;

import kn.cstf2.transition.Bean.TransitionBean;

import com.mx.kn.cstf2.dto.ComentarioDto;
import com.mx.kn.cstf2.dto.ForoDto;

public interface ForoService {
	public List<ForoDto> getTopics(TransitionBean transition) throws SQLException;
	public List<ComentarioDto> getListComentarios(int idTopico, int idForo)throws SQLException;
	public void insertComment(int idTopico, int idComentarioPadre,int idForo, String comentario, String autor)throws SQLException;
	public void updateUrlImgComment(int idTopico, int idComentario,int idForo, String urlImg, String User)throws SQLException;
	public void updateUrlFileComment(int idTopico, int idComentario,int idForo, String urlFile,String user)throws SQLException;
	public ComentarioDto getComentartio(int idTopico, int idComentario, TransitionBean transition) throws SQLException;
}
